unitDef = {
	unitname            = "v_farm",
	name                = "Farm",
	description         = "A farm. It feeds the warriors.",
	buildpic            = "placeholder.png",
	buildcostenergy     = 50,
	buildcostmetal      = 50,
	buildtime           = 50,
	category            = "land structure",
	corpse              = "dead",
	footprintx          = 8,
	footprintz          = 8,
	
	energymake          = 100,
	energystorage       = 1000,
	
	BuildingGroundDecalDecaySpeed = 0.01,
	BuildingGroundDecalSizeX      = 9,
	BuildingGroundDecalSizeY      = 9,
	BuildingGroundDecalType       = "farmplot.png",
	UseBuildingGroundDecal        = true,
	
	collisionVolumeOffsets   = "0 0 0",
	collisionVolumeScales    = "40 40 40",
	collisionVolumeTest      = 1,
	collisionVolumeType      = "box",
	
	icontype            = "default", 
	levelground         = 0,
	maxdamage           = 500,
	maxslope            = 40,
	objectname          = "wall.s3o", --fixme v_farm.s3o
	script              = "empty.lua",
	sightdistance       = 150,
	upright             = false,
	yardmap             = "ooyyyyyy ooyyyyyy yyyyyyyy yyyyyyyy yyyyyyyy yyyyyyyy yyyyyyyy yyyyyyyy",
	
	featureDefs         = {
	
		dead = {
		blocking        = 0,
		damage          = 100,
		description     = "Destroyed Farm",
		object          = "boulder.s3o", --fixme
		},
	},
}

return lowerkeys({ v_farm = unitDef })
